package com.baomidou.mybatisplus.criterion;

import java.io.Serializable;

/**
 * 面向对象形式的查询条件接口,本接口模仿了hibernate的Criterion<br/>
 * @author Timothy Ren
 */
public interface QueryCriterion extends Serializable {

	/**
	 * Render the SQL fragment
	 * @return The generated SQL fragment
	 */
	public String toSqlString();

	/**
	 * Return Object values for all parameters in the rendered SQL fragment
	 * @return Object[]
	 */
	public Object[] getValueArr();

	/**
	 * return the query string
	 * @return String
	 */
	public String toString();
}